﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zhaoxi.MSACommerce.UserService.Core.Entites;
using ZhaoXi.MSACommerce.UserService.UserCases.Commands;
using ZhaoXi.MSACommerce.UserService.UserCases.Queries;

namespace ZhaoXi.MSACommerce.UserService.UserCases
{
    public class MappingProfile : Profile
    {
        public MappingProfile()
        {
            CreateMap<CreateUserCommand, TbUser>();

            CreateMap<TbUser, UserDto>();
        }
    }
}
